package com.cloudkinto.service.platform.vo.rakuten;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RakutenSyncReq {
    private int[] orderStatus;

    private Date startDatetime;

    private Date endDatetime;

    private List<String> orderNumbers;

    @ApiModelProperty("1,订单创建时间 3订单支付时间")
    private int dateType;


    private Long storeId;

    private String storeName;
    @ApiModelProperty("同步记录的id")
    private Long syncId;

    private Long userId;

    public RakutenSyncReq(int[] orderStatus, Date startDatetime, Date endDatetime, int dateType, Long storeId, String storeName) {
        this.orderStatus = orderStatus;
        this.startDatetime = startDatetime;
        this.endDatetime = endDatetime;
        this.dateType = dateType;
        this.storeId = storeId;
        this.storeName = storeName;
    }

    public RakutenSyncReq(int[] orderStatus, Date startDatetime, Date endDatetime, int dateType, Long storeId, String storeName, Long userId) {
        this.orderStatus = orderStatus;
        this.startDatetime = startDatetime;
        this.endDatetime = endDatetime;
        this.dateType = dateType;
        this.storeId = storeId;
        this.storeName = storeName;
        this.userId = userId;
    }
    //    @ApiModelProperty("同步类型 normal  confirm")
//    private String syncType = "normal";




}
